﻿<%@ Page Language="C#" MasterPageFile="~/MasterPlus.Master"  AutoEventWireup="true" CodeBehind="wbfrm_CuentasPorCobrar.aspx.cs" Inherits="FrontEndPlus.Módulos.Inventarios.wbfrm_CuentasPorCobrar" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style40
        {
            height: 212px;
        }
        .auto-style41
        {
            width: 447px;
            height: 85px;
            margin-left: 40px;
        }
        .auto-style42
        {
            height: 52px;
        }
        .auto-style43
        {
            height: 51px;
        }
        .auto-style44
        {
            height: 51px;
            width: 79px;
        }
        .auto-style45
        {
            height: 52px;
            width: 79px;
            margin-left: 40px;
        }
        .auto-style46
        {
            width: 79px;
            height: 49px;
        }
        .auto-style47
        {
            height: 49px;
        }
        .auto-style48
        {
            width: 431px;
            height: 85px;
        }
        .auto-style49
        {
            width: 431px;
            height: 212px;
        }
        .auto-style50
        {
            height: 51px;
            width: 158px;
        }
        .auto-style51
        {
            height: 52px;
            width: 158px;
        }
        .auto-style53
        {
            width: 74px;
        }
        .auto-style54
        {
            height: 49px;
            width: 158px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" HeaderText="Se han producido los siguientes errores:" />
    <div>
    
        <table style="width: 111%; height: 448px;">
            <tr>
                <td class="auto-style41">&nbsp;&nbsp;<asp:Label ID="lbl_mensaje" runat="server" ForeColor="Red"></asp:Label>
&nbsp;<asp:Panel ID="Panel4" runat="server" GroupingText="Informacion Empresa" Height="99px">
                        &nbsp;<table style="width:100%;">
                            <tr>
                                <td class="auto-style53">
                                    <asp:Label ID="Label1" runat="server" Text="Id Empresa:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txt_idEmpresa" runat="server" BackColor="#CCCCCC" ReadOnly="True" Width="50px" Height="22px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style53">
                                    <asp:Label ID="Label2" runat="server" Text="Nombre Empresa:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txt_nombre_empresa" runat="server" BackColor="#CCCCCC" ReadOnly="True" Width="182px" Height="22px"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
                <td class="auto-style48">
                    <asp:Panel ID="Panel3" runat="server" GroupingText="Informacion Pago" Height="88px">
                    &nbsp;<table style="width:100%;">
                        <tr>
                            <td class="auto-style53">
                                <asp:Label ID="Label3" runat="server" Text="Numero Comprobante:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txt_comprobante" runat="server" BackColor="#CCCCCC" ReadOnly="True" Width="109px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style53">
                                <asp:Label ID="Label4" runat="server" Text="Monto:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txt_monto_pagado" runat="server" BackColor="#CCCCCC" ReadOnly="True" Width="109px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</asp:Panel>
                </td>
            </tr>
            <tr>
                <td class="auto-style40">
                    <asp:Panel ID="Panel1" runat="server" GroupingText="Empresas" Height="224px" Width="331px" ScrollBars="Auto">
                        <br />
                        <asp:GridView ID="gv_empresas" runat="server" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="0" CellSpacing="4" Height="145px" OnRowCommand="gv_empresas_RowCommand" Width="302px">
                            <Columns>
                                <asp:CommandField ShowSelectButton="True" />
                            </Columns>
                            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                            <RowStyle BackColor="White" ForeColor="#003399" />
                            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SortedAscendingCellStyle BackColor="#EDF6F6" />
                            <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
                            <SortedDescendingCellStyle BackColor="#D6DFDF" />
                            <SortedDescendingHeaderStyle BackColor="#002876" />
                        </asp:GridView>
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                    </asp:Panel>
                </td>
                <td class="auto-style49">
                    <asp:Panel ID="Panel2" runat="server" GroupingText="Cobros Pendientes" Height="220px" style="margin-top: 40px" ScrollBars="Auto" Width="362px">
                        <asp:GridView ID="gv_cuentasCobrar" runat="server" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="0" CellSpacing="4" GridLines="Vertical" Height="168px" OnRowCommand="gv_cuentasCobrar_RowCommand" Width="355px">
                            <AlternatingRowStyle BackColor="#DCDCDC" />
                            <Columns>
                                <asp:CommandField ShowSelectButton="True" />
                            </Columns>
                            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                            <SortedAscendingCellStyle BackColor="#F1F1F1" />
                            <SortedAscendingHeaderStyle BackColor="#0000A9" />
                            <SortedDescendingCellStyle BackColor="#CAC9C9" />
                            <SortedDescendingHeaderStyle BackColor="#000065" />
                        </asp:GridView>
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                        <br />
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td class="auto-style40" colspan="2">
                    <asp:Panel ID="Panel5" runat="server" GroupingText="Datos del Pago">
                        <table style="width: 82%; height: 128px;">
                            <tr>
                                <td class="auto-style44">
                                    <asp:Label ID="Label8" runat="server" Text="Monto:"></asp:Label>
                                </td>
                                <td class="auto-style44">
                                    <asp:TextBox ID="txt_monto" runat="server" Height="22px" Width="128px" BackColor="#CCCCCC" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td class="auto-style44">
                                    <asp:Label ID="Label5" runat="server" Text="Fecha:"></asp:Label>
                                </td>
                                <td class="auto-style50">
                                    <asp:TextBox ID="txt_fecha" runat="server" Height="22px" Width="128px" AutoPostBack="True" Enabled="False" MaxLength="10" OnTextChanged="txt_fecha_TextChanged" BackColor="#CCCCCC" ReadOnly="True"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txt_fecha" ErrorMessage="Seleccione una Fecha" ForeColor="Red" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                                    <asp:CompareValidator ID="CompareValidator5" runat="server" ControlToValidate="txt_fecha" ErrorMessage="Digite en formato de fecha" ForeColor="Red" Operator="DataTypeCheck" SetFocusOnError="True" Type="Date">*</asp:CompareValidator>
                                </td>
                                <td class="auto-style43">
                                    <asp:Button ID="btn_limpiar" runat="server" Height="29px" Text="Limpiar" Width="126px" OnClick="btn_limpiar_Click" CausesValidation="False" />
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style45">
                                    <asp:Label ID="Label9" runat="server" Text="Intereses:"></asp:Label>
                                </td>
                                <td class="auto-style45">
                                    <asp:TextBox ID="txt_intereses" runat="server" Height="22px" Width="128px" BackColor="#CCCCCC" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td class="auto-style45">
                                    <asp:Label ID="Label6" runat="server" Text="Tipo Pago:"></asp:Label>
                                </td>
                                <td class="auto-style51">
                                    <asp:DropDownList ID="ddl_tipo_pago" runat="server" Height="22px" Width="128px" Enabled="False">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>Contado</asp:ListItem>
                                        <asp:ListItem>Cheque</asp:ListItem>
                                        <asp:ListItem>Transferencia</asp:ListItem>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddl_tipo_pago" ErrorMessage="Seleccione el tipo de pago" ForeColor="Red" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                                </td>
                                <td class="auto-style42">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Button ID="btn_generar" runat="server" Height="29px" Text="Generar Cobro" Width="126px" OnClick="b_generar_Click" Enabled="False" />
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style46">
                                    <asp:Label ID="Label10" runat="server" Text="Total:"></asp:Label>
                                </td>
                                <td class="auto-style46">
                                    <asp:TextBox ID="txt_total" runat="server" Height="22px" Width="128px" BackColor="#CCCCCC" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td class="auto-style46">
                                    <asp:Label ID="Label7" runat="server" Text="Descripcion Pago:"></asp:Label>
                                </td>
                                <td class="auto-style54">
                                    <asp:TextBox ID="txt_descripcion_pago" runat="server" Height="42px" Width="200px" Enabled="False" MaxLength="100"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_descripcion_pago" ErrorMessage="Digite una descripcion del pago" ForeColor="Red" SetFocusOnError="True">*</asp:RequiredFieldValidator>
                                </td>
                                <td class="auto-style47">
                                    <asp:CheckBox ID="chk_imprimir" runat="server" Text="Imprimir" />
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style46">
                                    <asp:Label ID="Label11" runat="server" Text="Descripcion:"></asp:Label>
                                </td>
                                <td class="auto-style46">
                                    <asp:TextBox ID="txt_descripcion" runat="server" Height="42px" Width="200px" BackColor="#CCCCCC" ReadOnly="True"></asp:TextBox>
                                </td>
                                <td class="auto-style46">&nbsp;</td>
                                <td class="auto-style54">&nbsp;</td>
                                <td class="auto-style47">&nbsp;</td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="b_volver" runat="server" Height="29px" Text="Volver" Width="126px" OnClick="b_volver_Click" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
 </asp:Content>